#include <iostream>
#include "List.h"

using namespace std;

int main()
{
	ssy::List<int> lt;
	lt.push_back(1);
	lt.push_back(2);
	lt.push_back(3);
	lt.push_back(4);
	lt.push_back(5);
	lt.push_back(6);
	lt.print();

	lt.push_front(1);
	lt.push_front(2);
	lt.push_front(3);
	lt.push_front(4);
	lt.push_front(5);
	lt.push_front(6);
	lt.push_front(7);
	lt.push_front(8);

	lt.print();

	

	auto it2 = lt.begin();
	++it2;
	auto aaa = lt.insert(it2, 666);

	lt.print();

	lt.erase(aaa);
	lt.print();

	ssy::List<int> lt2 = lt;
	lt.print();

	return 0;
}


